<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
  </head>
  <body>
    <script type="text/javascript">
      // 页面一被展示出来 浏览器内存(浏览器window对象上)里面就有show方法
      function show(data) {
        console.log(data);
      }
    </script>
    <script
      type="text/javascript"
      src="http://127.0.0.1:3000/getscript?callback=show"
    ></script>
  </body>
</html>
